package guda.stark.dal.dao;

import guda.stark.dal.dataobject.EstateDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface EstateDAO {


    Long insert(EstateDO estate);


    EstateDO getEstateById(Long estateId);


    boolean delEstateById(Long estateId);

    List<EstateDO> getEstateByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long estateId);

    List<EstateDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(EstateDO estate);

}
